import { AutoIncrementId, Entity, PrimaryUuid, Title, Code } from "../utils";

@Entity({
    name: 'fj_city'
})
export class FjCityEntity {

    @PrimaryUuid()
    id: string;

    @AutoIncrementId()
    cid: number;

    @Title()
    city_long_name_cn: string;

    @Title()
    city_name_cn: string;

    @Title()
    city_long_name: string;

    @Title()
    city_name: string;

    @Code()
    city_code: string;

    @Code()
    country_code: string;

    @Code()
    from: string;

    @Code({ nullable: true })
    adcode: string;
}
